<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <div id="box"></div>
    
    <script>

        
        let msg = '你好世界'
        let msg2 = 'yaxi'
        function  fn(){
            return '今天吃啥子'
        }
        let arr = ['ya','xi','la','lei']

        box.innerHTML = `
        <div>
        <div>
            <div>${msg}</div>
            <div>${msg2}</div>
            <div>${9%4}</div>
            <div>${fn()}</div>
            <div>${arr.map(function(item){
                return `我天天说${item}`
            })}</div>
        </div>
    </div>
        `

        // console.log(fn)
    </script>
</body>

</html>